#version 300 es //指定OpenglES 版本

layout(location = 0) in vec4 a_position;
layout(location = 1) in vec4 a_color;

uniform mat4   u_mat;
out vec4   o_color;

void main(void)
{
    o_color = vec4(a_color.r,a_color.g,a_color.b,a_color.a);
    gl_Position = u_mat * a_position;
}